package com.job.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.job.common.ResponseResult;
import com.job.common.exception.ParameterIsNullException;
import com.job.common.exception.UserException;
import com.job.controller.req.PositionSearchVO;

import java.util.Map;

public interface PositionService {
    ResponseResult<IPage<Map<String,Object>>> positionSearch(PositionSearchVO search) throws ParameterIsNullException;

    ResponseResult<Map<String,Object>> positionInfoContext(Integer positionId) throws UserException, ParameterIsNullException;
}
